package com.hqyj.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/*访问通用页面*/
@Controller
@RequestMapping("/path")
public class PathController {
    @RequestMapping("/{page}")
    public String myPage(@PathVariable("page")String page){
        return page;
    }
}
